package streamforce.crypto;

import java.net.InetSocketAddress;


/**
 * @author ttadinh
 * contains transformation key, to send to the cloud
 */
public class TKMessage extends Message{
	int userId;
	int streamId;
	byte[] key;
	
	public TKMessage(int si, int ui,  byte[] k){
		super(null,null,null,Message.TO_CLOUD);
		this.userId = ui;
		this.streamId = si;
		key = k;
	
	}
		
	
	public byte[] getKey(){
		return this.key;
	}
	
	public int getUserId() {
		return userId;
	}


	public int getStreamId() {
		return streamId;
	}
	

}
